#pragma once
#include "libutilsbase.h"
#include "loki/Singleton.h"

using namespace Tigera::Business::Service;
using namespace Tigera::Network;
using namespace Tigera::T_Definition;

ref class CSSQuoteService
{
public:
	CSSQuoteService(void);
	virtual ~CSSQuoteService(void);
	bool Initialize();
	void UnInitialize();
	bool SubScribeQuote(const TCHAR* code);
	static CSSQuoteService^ Instance();


	 void OnQuoteRecieved(T_Quote data);

private:
	void* ptr;
	Tigera::Business::Service::QuoteDataService^ m_service;
	static CSSQuoteService^ _instance;
};

typedef CSSQuoteService CSSQuoteServiceHolder;

